package org.fhawk.tinyspring.aop.proxy;


import org.fhawk.tinyspring.exception.ProxyException;

import java.lang.reflect.Method;

/**
 * Created by tuo on 10/9/16.
 */
public interface Proxy {
    void doBefore(Method method) throws ProxyException;

    void doAfter(Method method) throws ProxyException;

    void doFinally(Method method) ;

    void doThrowable(Method method, Throwable e) throws ProxyException;
}
